package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.GetMsgResponse;

import java.util.ArrayList;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by ASUS on 2017/8/29.
 */

public interface GetMsgRequest {
    @GET("message")
//    Observable<BaseModel<ArrayList<GetMsgResponse>>> getResult(@Query("index") int index, @Query("size") int size);
    Observable<BaseModel<ArrayList<GetMsgResponse>>> getResult(@Query("token") String token);
}
